{% extends 'base1.html' %}

{% block title %}
    编辑部门
{% endblock %}

{% block label %}
<h1 class="page-header">编辑部门</h1>
{% endblock %}

{% block contenter %}
    <div class="row">
                <div class="col-lg-12">
                    <div class="row">
                        <form method="post">
                            <input type="hidden" name="department_id" value="1">
                            <div class="form-group">
                                <label class="control-label">部门名称：</label>
                                <input class="form-control" type="text" name="name" value="{{ dep.name }}">
                            </div>
                            <div class="form-group">
                                <label class="control-label">部门描述：</label>
                                <textarea class="form-control" name="description">{{ dep.desc }}</textarea>
                            </div>
                            <div class="form-group">
                                <button class="btn btn-primary btn-block">提交</button>
                            </div>
                        </form>
                    </div>
                </div>
                <!-- /.col-lg-12 -->
            </div>
{% endblock %}




















